<h1>
    <?=$this->title ?>
</h1>
<div id="container" style="margin-top: -50px;">
<?
    Principio_Library_Common::printErrorsAndMsg();
    $row_number = 0;
    $row_type = array(0 => "row_even", 1 => "row_odd");
?>
    <table cellspacing="0" class="table" width="99%">
        <tr class="row_even">
            <td width="10%">Type:</td>
            <td>Company<?=($this->model_company->isCompanyNotInPool() ? "" : " in an existing pool") ?></td>
        </tr>
<?
    $row_number = 1;
    if (!$this->model_company->isCompanyNotInPool())
    {
        $row_number++;
?>
        <tr class="row_odd">
            <td>Pool:</td>
            <td><?=$this->model_pool->getCaption() ?></td>
        </tr>
<?
    };
?>
        <tr class="<?=$row_type[($row_number++) % 2] ?>">
            <td>Proxy:</td>
            <td><?=$this->model_company->getProxy() ?></td>
        </tr>
        <tr class="<?=$row_type[($row_number++) % 2] ?>">
            <td>IP/Range:</td>
            <td><?= ($this->model_company->isCompanyNotInPool() ? $this->model_company->getIp() : $this->model_pool->getIp() ) ?></td>
        </tr>
        <tr class="<?=$row_type[($row_number++) % 2] ?>">
            <td>VLAN ID:</td>
            <td><? $vlan_id = $this->model_company->getVlanId(); if ($vlan_id != -1) echo $vlan_id; ?></td>
        </tr>
        <tr class="<?=$row_type[($row_number++) % 2] ?>">
            <td>VLAN PC ID:</td>
            <td><? $vlan_pc_id = $this->model_company->getVlanPcId(); if ($vlan_pc_id != -1) echo $vlan_pc_id; ?></td>
        </tr>
    </table>
</div>